package com.hwua.view;

import com.hwua.util.InputTools;

/**
 * 管理员启动界面
 * @author admin
 */
public class WelcomeAdminView extends AbstractView{
    @Override
    public AbstractView showView() {
        System.out.println("====================");
        System.out.println("1.登录 2.退出");
        int choose = InputTools.checkIntInput(1, 2);
        switch (choose){
            case 1:nextView=new LoginView();
                break;
            case 2:nextView=null;
                break;
            default:
                break;
        }
        return nextView;
    }
}
